<template>
  <view class="pagesA">
    <tn-nav-bar fixed :isBack="false" :bottomShadow="false" backgroundColor="#020303">
      <view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
        <!-- 图标logo -->
        <view class="custom-nav__back" @click="tn('/homePages/about')">
          <!-- 图片模式-->
          <view class="logo-pic" style="background-image:url('https://resource.tuniaokj.com/images/logo/logo.png')">
            <view class="logo-image">
            </view>
          </view> 
          <!-- 如果有图片那就放图片，如果没有，那就删掉上面的放字体icon -->
          <!-- <view class="tn-icon-left"></view> -->
        </view>
        <!-- 搜索框 -->
        <view class="custom-nav__search tn-flex tn-flex-col-center tn-flex-row-center"  @click="tn('/homePages/city')">
          <view class="custom-nav__search__box tn-flex tn-flex-col-center tn-flex-row-left">
            <!-- <view class="custom-nav__search__icon tn-icon-search tn-color-white"></view>
            <view class="custom-nav__search__text tn-padding-left-xs tn-color-white">搜索 图鸟模板</view> -->
            <view class="" style="width: 100%;color: #FFFFFF;">
              <tn-notice-bar :list="searlist" mode="vertical" leftIconName="location" :duration="6000"></tn-notice-bar>
            </view> 
          </view>
        </view>
      </view>
    </tn-nav-bar>
    
    <!-- 写内容-->
    <view class="" :style="{paddingTop: vuex_custom_bar_height + 15 + 'px'}">
      
      <swiper class="card-swiper" :circular="true"
        :autoplay="true" duration="500" interval="12000" @change="cardSwiper"> 
        <swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur==index?'cur':''">
          <view class="swiper-item image-banner">
            <image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
          </view>
          <view class="swiper-item-text">
            <view class="tn-color-white tn-padding-top-xs" style="font-size: 60rpx;">{{item.name}}</view>
            <view class="tn-text-sm tn-text-bold tn-color-white tn-padding-top-sm tn-padding-bottom-sm">{{item.text}}</view>
          </view>
        </swiper-item>
      </swiper>
      <view class="indication">
          <block v-for="(item,index) in swiperList" :key="index">
              <view class="spot" :class="cardCur==index?'active':''"></view>
          </block>
      </view>
      
      <!-- 方式12 start-->
      <view class="tn-flex tn-flex-wrap tn-margin-sm tn-margin-top-xl">
        <view v-for="(item, index) in linksData" :key="index" style="width: 20%;" @click="tn('/homePages/filter')">
          <view class="tn-margin-bottom tn-margin-top-sm">
            <view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
              <!-- 预留的图片形式 -->
              <view class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center" :style="'background-image:url('+ item.url +');background-size:100% 100%;background-size: cover;'">
              </view>
              <!-- 字体图标形式-->
              <!-- <view class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center" :class="['tn-cool-bg-color-' + item.color]">
                <view class="tn-icon-my-simple-fill"></view>
              </view> --> 
              <view class="tn-color-white tn-text-center">
                <text class="tn-text-ellipsis tn-text-sm">{{ item.title }}</text>
              </view>
            </view>
          </view>
       </view>
      </view>
      <!-- 方式12 end-->
      
      <view class="bg-con">
        
        <!-- tabs导航 -->
        <view class="" style="width: 100vw;">
          <view class="" style="padding: 10rpx 0rpx;">
            <tn-tabs-move :list="fixedList" :current="current" :isScroll="true" activeColor="#FFFFFF" :activeItemStyle="activeItemStyle" :inactiveItemStyle="inactiveItemStyle" :barStyle="barStyle"
              inactiveColor="#999999" :bold="false" :fontSize="32" :badgeOffset="[20, 50]" @change="tabChange"
              backgroundColor="#FFFFFF00" :height="70"></tn-tabs-move>
          </view>
        </view>
        
        <view class="" v-if="current==0">
          
          <block v-for="(item, index) in contentShop" :key="index">
            <view class="bg-radius bg-shadow tn-margin tn-padding">
              <view class="tn-flex">
                <view class="image-pic" :style="'background-image:url(' + item.mainImage + ')'" @click="tn('')">
                  <view class="image-active">
                  </view>
                </view>
                <view class="tn-padding-left-sm" style="width: 100%;">
                  <view class="tn-flex tn-flex-row-between tn-flex-col-between">
                    <view class="justify-content-item">
                      <text class="tn-text-lg clamp-text-1 tn-color-white">{{ item.name }}</text>
                    </view>
                  </view>
                  <view class="tn-flex tn-flex-col-center tn-padding-top-sm">
                    <view class="justify-content-item">
                      <view class="min-pic">
                        <view class="min-image" style="background-image:url('https://cdn.nlark.com/yuque/0/2024/png/280373/1735553778531-assets/web-upload/c6cc0c82-76dc-401f-840b-953954c54fd2.png');background-size: cover;">
                        </view>
                      </view>
                    </view>
                    <div class="justify-content-item">
                      <text class="tn-color-gray clamp-text-1 tn-padding-left-xs tn-text-xs">{{ item.desc }}</text>
                    </div>
                  </view>
                  <view class="tn-flex tn-flex-col-center tn-padding-top-sm">
                    <view class="justify-content-item">
                      <view class="min-pic">
                        <view class="min-image" style="background-image:url('https://cdn.nlark.com/yuque/0/2024/png/280373/1735554328352-assets/web-upload/1e271931-8bc5-4bcf-adf4-a4d9883bcbd4.png');background-size: cover;">
                        </view>
                      </view>
                    </view>
                    <view class="tn-padding-left-xs" style="padding-top: 6rpx;">
                      <view v-for="(tagItem, tagIndex) in item.tags" :key="tagIndex" class="tag-user" style="font-size: 16rpx;">
                        <text class="tn-icon-spiral"></text>
                        <text class="" style="padding-left: 4rpx;">{{ tagItem }}</text>
                      </view>
                    </view>
                  </view>
                  <!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top-sm">
                    <view class="justify-content-item tn-text-center tn-flex tn-flex-col-center">
                      <tn-avatar-group :lists="latestUserAvatar" size="xs"></tn-avatar-group>
                      <text class="tn-color-gray clamp-text-1 tn-text-sm tn-padding-left-xs">共 {{item.number}} 人已报名</text>
                    </view>
                    <view class="justify-content-item">
                      <tn-button shape="round" size="sm" backgroundColor="#B3F73C" fontColor="#333333" padding="24rpx 0" width="92rpx">
                        <text class="tn-text-sm">上车</text>
                      </tn-button>
                    </view>
                  </view> -->
                </view>
              </view>
              
              <view class="tn-flex tn-margin-top tn-flex-col-center tn-flex-row-between">
                <view class="tn-flex tn-flex-col-center" style="background-color: #3A404B;border-radius: 100rpx;padding: 10rpx 20rpx;color: #999999;">
                  <view class="" style="padding: 6rpx 0 0 0;">
                    <tn-avatar-group :lists="item.viewUser.latestUserAvatar" size="sm"></tn-avatar-group>
                  </view>
                  <!-- <view class="clamp-text-1 tn-padding-left-xs tn-text-sm">共 {{item.viewUser.viewUserCount}} 人评论</view> -->
                  <view class="clamp-text-1 tn-padding-left-xs tn-text-sm" style="min-width: 46vw;max-width: 76vw;">{{item.text}}</view>
                </view>
                <view class="tn-flex justify-content-item tn-flex-row-center tn-margin-left-sm">
                  <view class="tn-padding-xs tn-round" style="color: #00FD00;background-color: #3A404B;">
                    <text class="tn-icon-rocket-fill" style="font-size: 50rpx;"></text>
                  </view>
                </view>
              </view>
            </view>
          </block>
        
        </view>
        
        
        <view class="" v-if="current==1">
        
          <view class="" style="padding: 3vh 20rpx;opacity: 0.6;">
            <view class="tn-text-center" style="font-size: 260rpx;padding-top: 30rpx;">
              <text class="tn-icon-sprout tn-color-gray--disabled"></text>
            </view>
            <view class="tn-color-gray tn-text-center tn-text-lg">内容正在发芽，嘤</view>
          </view>
        
        </view>
        
        <view class="" v-if="current==2">
        
          <view class="" style="padding: 3vh 20rpx;opacity: 0.6;">
            <view class="tn-text-center" style="font-size: 260rpx;padding-top: 30rpx;">
              <text class="tn-icon-sprout tn-color-gray--disabled"></text>
            </view>
            <view class="tn-color-gray tn-text-center tn-text-lg">内容正在发芽，嘤嘤</view>
          </view>
        
        </view>
        
        <view class="" v-if="current==3">
          
          <view class="" style="padding: 3vh 20rpx;opacity: 0.6;">
            <view class="tn-text-center" style="font-size: 260rpx;padding-top: 30rpx;">
              <text class="tn-icon-sprout tn-color-gray--disabled"></text>
            </view>
            <view class="tn-color-gray tn-text-center tn-text-lg">内容正在发芽，嘤嘤嘤</view>
          </view>
        
        </view>
        
        <view class="" v-if="current==4">
          
          <view class="" style="padding: 3vh 20rpx;opacity: 0.6;">
            <view class="tn-text-center" style="font-size: 260rpx;padding-top: 30rpx;">
              <text class="tn-icon-sprout tn-color-gray--disabled"></text>
            </view>
            <view class="tn-color-gray tn-text-center tn-text-lg">内容正在发芽，嘤嘤嘤嘤</view>
          </view>
        
        </view>
        
        
        <view class="tn-tabbar-height"></view>
        
      </view>
      
    </view>
    
  </view>
</template>

<script>
  export default {
    name: 'PageA',
    data(){
      return {
        searlist: [
          '切换城市 广州',
          '城市切换 杭州',
          '城市切换 深圳',
          '城市切换 北京'
        ],
        
        cardCur: 0,
        swiperList: [{
          id: 0,
          type: 'image',
          name: '',
          text: '',
          url: 'https://resource.tuniaokj.com/images/avatar/xiong/x3.jpg',
        }, {
          id: 1,
          type: 'image',
          name: '',
          text: '',
          url: 'https://resource.tuniaokj.com/images/avatar/xiong/x4.jpg',
        }, {
          id: 2,
          type: 'image',
          name: '',
          text: '',
          url: 'https://resource.tuniaokj.com/images/avatar/xiong/x5.jpg',
        }, {
          id: 3,
          type: 'image',
          name: '微信号 tnkewo',
          text: '商业合作请联系作者',
          url: 'https://resource.tuniaokj.com/images/avatar/xiong/x6.jpg',
        }],
        
        linksData: [{
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708919552226-assets/web-upload/76296499-510b-4178-ac3b-9c11fdbfd54e.jpeg',
            title: '原型服务',
            icon:'platform-fill',
            color:'1',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708918899491-assets/web-upload/038bfe64-998b-449e-8c40-6774b5479ace.jpeg',
            title: '前端服务',
            icon:'platform-fill',
            color:'2',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708938310933-assets/web-upload/f7f47a46-9cf6-4553-8bbd-8783c1877491.jpeg',
            title: '设计服务',
            icon:'platform-fill',
            color:'3',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708940465960-assets/web-upload/ad152e6e-9178-4e94-bd38-b6b1fcd8ccc4.jpeg',
            title: '推广服务',
            icon:'platform-fill',
            color:'4',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708932877407-assets/web-upload/f9cae7be-002b-450b-bce4-e5560febe327.jpeg',
            title: '咨询服务',
            icon:'platform-fill',
            color:'5',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708918498858-assets/web-upload/add4f1e8-7a08-4428-9c08-cd21876e269f.jpeg',
            title: '产品服务',
            icon:'platform-fill',
            color:'6',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708920494034-assets/web-upload/2a851b4b-3c5d-4b22-84cc-c51dfb47c68c.jpeg',
            title: '方案服务',
            icon:'platform-fill',
            color:'7',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708939457065-assets/web-upload/793acff9-92b3-4213-83eb-813714da5303.jpeg',
            title: '部署服务',
            icon:'platform-fill',
            color:'8',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708931894342-assets/web-upload/3446834b-dfa2-41c8-90a1-a58c9e125ac0.jpeg',
            title: '吹牛服务',
            icon:'platform-fill',
            color:'9',
            path: ''
          },
          {
            url: 'https://cdn.nlark.com/yuque/0/2024/jpeg/280373/1708936527694-assets/web-upload/1e57e656-1f07-4a0c-ace7-4c48a38c248f.jpeg',
            title: '更多服务',
            icon:'platform-fill',
            color:'10',
            path: ''
          }
        ],
        
        activeItemStyle: {
          margin: "0 0 0 26rpx",
        },
        inactiveItemStyle: {
          margin: "0 0 0 26rpx",
        },
        barStyle: {
          color: '#00FD00'
        },
        current: 0,
        fixedList: [
          {
            name: '全部服务',
            left: 'https://cdn.nlark.com/yuque/0/2024/png/280373/1735554328354-assets/web-upload/81dd809d-d7a9-463e-a6b1-2f15b7cca614.png',
            right: 'https://cdn.nlark.com/yuque/0/2024/png/280373/1735550584721-assets/web-upload/df83c46c-42e5-4eab-83a3-c208618ba5f2.png',
          },
          {
            name: '上门服务',
            left: 'https://cdn.nlark.com/yuque/0/2024/png/280373/1735550866265-assets/web-upload/29f784ce-48d7-48a8-807a-f1657ced21d7.png',
            right: '',
          },
          {
            name: '在线服务',
            left: 'https://cdn.nlark.com/yuque/0/2024/png/280373/1735550866260-assets/web-upload/32f22a3d-f6ee-4071-b5b7-490113c2b942.png',
            right: '',
          },
          {
            name: 'VIP服务',
            left: 'https://cdn.nlark.com/yuque/0/2024/png/280373/1735550866268-assets/web-upload/ed901140-1bb7-4d75-ad65-5e6df9e3304b.png',
            right: '',
          },
          {
            name: '其他服务',
            left: 'https://cdn.nlark.com/yuque/0/2024/png/280373/1735550883250-assets/web-upload/8835656a-a420-4153-8dc3-e90773ed944b.png',
            right: '',
          }
        ],
        
        contentShop: [
          { 
            name: '抓住那只猪（祈福新邨店）',
            desc: '全天开放 | 距离1km',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x7.jpg',
            text: '态度友好，下次还来',
            number: '129',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x1.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x2.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x3.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x4.jpg'},
              ],
              viewUserCount: 62
            },
          },
          {
            name: '那只猪不见了（祈福新邨店）',
            desc: '9:00至18:00 | 距离1km',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x6.jpg',
            text: '服务一流，价格便宜',
            number: '386',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x5.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x6.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x7.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x8.jpg'},
              ],
              viewUserCount: 62
            },
          },
          {
            name: '那只猪吖（祈福新邨店）',
            desc: '全天开放 | 距离1km',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x5.jpg',
            text: '很长很长的文案文案文案文案文案文案',
            number: '129',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x9.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x10.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x11.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x12.jpg'},
              ],
              viewUserCount: 62
            },
          },
          {
            name: '嘤嘤嘤，抓住那只猪（祈福新邨店）',
            desc: '全天开放 | 距离1km',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x4.jpg',
            text: '技术还行，UI精美',
            number: '386',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x13.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x14.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x15.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x16.jpg'},
              ],
              viewUserCount: 62
            },
          },
          {
            name: '抓住那只猪抓住那只猪（祈福新邨店）',
            desc: '全天开放 | 距离1km',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x3.jpg',
            text: '服务一流，价格便宜',
            number: '129',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x17.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x18.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x19.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x20.jpg'},
              ],
              viewUserCount: 62
            },
          },
          {
            name: '抓住那只猪（番禺市桥店）',
            desc: '全天开放 | 距离1km',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x2.jpg',
            text: '服务一流，价格便宜',
            number: '386',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x11.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x12.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x13.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x14.jpg'},
              ],
              viewUserCount: 62
            },
          },
          {
            name: '抓住那只猪烧烤',
            desc: '全天开放 | 距离1km',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x12.jpg',
            text: '服务一流，价格便宜',
            number: '129',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x3.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x7.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x9.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x12.jpg'},
              ],
              viewUserCount: 62
            },
          },
          {
            name: '抓住那只猪抓住那只猪抓住那只猪',
            desc: '那只猪不见了吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖',
            tags: ['可借', '可还', '免押金'],
            mainImage: 'https://resource.tuniaokj.com/images/avatar/xiong/x1.jpg',
            text: '服务一流，价格便宜',
            number: '386',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x16.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x20.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x13.jpg'},
                {src: 'https://resource.tuniaokj.com/images/avatar/xiong/x14.jpg'},
              ],
              viewUserCount: 62
            },
          }
        ],
      }
    },
    methods: {
      // 跳转
      tn(e) {
      	uni.navigateTo({
      		url: e,
      	});
      },
      
      // cardSwiper
      cardSwiper(e) {
        this.cardCur = e.detail.current
      },
      
      // tab选项卡切换
      tabChange(index) {
        this.current = index
      },
    }
  }
</script>

<style lang="scss" scoped>
  .pagesA{
    max-height: 100vh;
  }
  /* 自定义导航栏内容 start */
  .custom-nav {
    height: 100%;
    
    &__back {
      margin: auto 5rpx;
      font-size: 40rpx;
      margin-right: 10rpx;
      margin-left: 30rpx;
      flex-basis: 5%;
    }
    
    &__search {
      flex-basis: 50%;
      width: 100%;
      height: 100%;
      
      &__box {
        width: 100%;
        height: 74%;
        padding: 10rpx 0;
        margin: 0 30rpx;
        color: #00FD00;
        background-color: #004700;
        border-radius: 1000rpx;
        border: 1rpx solid #00FD00;
        color: #FFFFFF;
        font-size: 24rpx;
      }
      
      &__icon {
        padding-right: 10rpx;
        margin-left: 20rpx;
        font-size: 30rpx;
      }
      
      &__text {
        // color: #AAAAAA;
      }
    }
  }
  .logo-image{
    width: 65rpx;
    height: 65rpx;
    position: relative;
  }
  .logo-pic{
    background-size: cover;
    background-repeat:no-repeat;
    // background-attachment:fixed;
    background-position:top;
    border-radius: 50%;
    border: 1rpx solid #FFFFFF;
  }
  /* 自定义导航栏内容 end */
  
  .bg-con{
    // background-color: #FFFFFF;
    border-radius: 20rpx 20rpx 0 0 ;
    z-index: 0;
    position: relative;
    padding: 10rpx 0 0 0;
  }
  
  .bg-radius{
    border-radius: 18rpx;
  }
  
  .bg-shadow{
    overflow: hidden;
    border-radius: 30rpx;
    background-color: #171E17;
  }
  
  .icon12 {
    &__item {
      width: 30%;
      background-color: #FFFFFF;
      border-radius: 10rpx;
      padding: 30rpx;
      margin: 20rpx 10rpx;
      transform: scale(1);
      transition: transform 0.3s linear;
      transform-origin: center center;
      
      &--icon {
        width: 100rpx;
        height: 100rpx;
        font-size: 60rpx;
        border-radius: 50%;
        margin-bottom: 18rpx;
        position: relative;
        z-index: 1;
        
        &::after {
          content: " ";
          position: absolute;
          z-index: -1;
          width: 100%;
          height: 100%;
          left: 0;
          bottom: 0;
          border-radius: inherit;
          opacity: 1;
          transform: scale(1, 1);
          background-size: 100% 100%;
          background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg6.png);
  
            
        }
      }
    }
  }
  
  
  /* 标签 start*/
  .tag-user {
    color: #00FD00;
    background-color: #004700;
    display: inline-block;
    padding: 8rpx 12rpx 6rpx;
    margin: 0 15rpx 10rpx 0;
    border-radius: 100rpx;
  }
  
  
  .image-active{
    width: 160rpx;
    height: 160rpx;
    position: relative;
  }
  .image-pic{
    width: 160rpx;
    height: 160rpx;
    background-size: cover;
    background-repeat:no-repeat;
    background-position:center;
    border-radius: 16rpx;
  }
  
  .min-image {
    width: 26rpx;
    height: 26rpx;
    position: relative;
    overflow: hidden;
  }
  .min-pic {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
  }
  
  /* 轮播视觉差 start */
  .card-swiper {
    height: 320rpx !important;
  }
    
  .card-swiper swiper-item {
    width: 750rpx !important;
    left: 0rpx;
    box-sizing: border-box;
    padding: 0rpx 30rpx 0rpx 30rpx;
    overflow: initial;
  }
    
  .card-swiper swiper-item .swiper-item {
    width: 100%;
    display: block;
    height: 100%;
    border-radius: 20rpx;
    transform: scale(1);
    transition: all 0.2s ease-in 0s;
    overflow: hidden;
    // border: 8rpx solid #FFFFFF;
  }
    
  .card-swiper swiper-item.cur .swiper-item {
    transform: none;
    transition: all 0.2s ease-in 0s;
  }
    
  .card-swiper swiper-item .swiper-item-text {
    margin-top: -140rpx;
    width: 100%;
    display: block;
    height: 100%;
    border-radius: 10rpx;
    transform: translate(100rpx, -60rpx) scale(0.9, 0.9);
    transition: all 0.6s ease 0s;
    overflow: hidden;
  }
    
  .card-swiper swiper-item.cur .swiper-item-text {
    margin-top: -200rpx;
    width: 100%;
    text-shadow: 0 0 6rpx #AFE558;
    transform: translate(0rpx, 0rpx) scale(0.9, 0.9);
    transition: all 0.6s ease 0s;
  }
  
  .image-banner{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .image-banner image{
    width: 100%;
    height: 100%;
  }
  
  /* 轮播指示点 start*/
  .indication{
    z-index: 0;
    width: 100%;
    height: 36rpx;
    position: absolute;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
  }
  
  .spot{
    background-color: #00FD00;
    opacity: 0.6;
    width: 10rpx;
    height: 8rpx;
    border-radius: 20rpx;
    top: 10rpx;
    margin: 0 8rpx !important;
    position: relative;
  }
  
  .spot.active{
    opacity: 1;
    width: 26rpx;
    background-color: #00FD00;
  }
  
  /* 文字截取*/
  .clamp-text-1 {
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  
  .clamp-text-2 {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  
  /* 底部 start*/
  .tn-footerfixed{
   position: fixed;
   width: 100%;
   bottom: 0;
   z-index: 999;
  }
  
  .tabbar {
    align-items: center;
    min-height: 130rpx;
  	padding: 0;
  	height: calc(160rpx + env(safe-area-inset-bottom) / 2);
  	padding-bottom: calc(80rpx + env(safe-area-inset-bottom) / 2);
    padding-left: 10rpx;
    padding-right: 10rpx;
  }
  
  /* 底部安全边距 start*/
  .tn-tabbar-height {
  	min-height: 80rpx;
  	height: calc(100rpx + env(safe-area-inset-bottom) / 2);
    height: calc(100rpx + constant(safe-area-inset-bottom));
  }
</style>
